package com.example.demo.service.service;

import java.util.List;

import com.example.demo.domain.service.Service;
import com.example.demo.domain.tos.Tos;

public interface ServiceService {
	int deleteByPrimaryKey(Integer service_Id);
    int insert(Service record);

    int insertSelective(Service record);

    Service selectByPrimaryKey(Integer service_Id);

    int updateByPrimaryKeySelective(Service record);

    int updateByPrimaryKey(Service record);
    
	// 以下是新增的方法
	
	//通用查询方法
	List<Service> selectServiceList(Service service);
	
	//删除方法，支持批量删除?
     int deleteServiceByIds(String[] serviceIds);
     
     List<Tos> selectTosName();
	int selectCountByTosId(Integer id);
}
